package formdata

type OrderInfo struct {
	PayType     int64             `json:"pay_type"`
	AddressId   int64             `json:"address_id"`
	UserId      int64             `json:"user_id"`
	CouponId    int64             `json:"coupon_id"`
	Pr          []OrderGoodsInfo  `json:"pr"`
	UpdateStock UpdateSpikesStock `json:"update_stock"`
}

type OrderGoodsInfo struct {
	GoodsId  int64 `json:"goods_id"`
	SkuId    int64 `json:"sku_id"`
	Price    int64 `json:"price"`
	Quantity int64 `json:"quantity"`
}

type UpdateSpikesStock struct {
	GoodsID          []int64 `json:"goods_id"`
	SpikesActivityID int64   `json:"spikes_activity_id"`
	Num              int64   `json:"num"`
}

type DeleteOrder struct {
	OrderID int64 `json:"order_id"`
	UserID  int64 `json:"user_id"`
}
type SpikesOrderInfo struct {
	OrderNo string `json:"order_no"`
	Url     string `json:"url"`
}
